<?php
/**
 * Created by PhpStorm.
 * User: gui
 * Date: 2019/2/21
 */

namespace App\Http\Controllers\API;


use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Auth;

class AuthUserController extends Controller
{
    /**
     * 获取Token用户信息 add by gui
     * @return \Illuminate\Contracts\Auth\Authenticatable|null
     */
    public function getAuthUser()
    {
        $user = Auth::user ();

        return $user;
    }
}